#ifndef __LINKED_LIST_H__
#define __LINKED_LIST_H__

typedef struct node_s
{
    void* element;
    struct node_s* next;
}node_t;

// Allocates memory for a node with the input element
// and a NULL next pointer, returns pointer to node
node_t* init_list(void* element);

// Inserts a node with the input element after the
// input node, returns ptr to new node
node_t* insert_node(node_t* priorNode, void* element);


#endif